package com.phone;

import java.util.Scanner;

public class phone_test {
    public static void main(String[] args) {
        phone a=new phone();
        Scanner user=new Scanner(System.in);
        System.out.println("请输入您的手机品牌");
        a.brand= user.next();
        System.out.println("请输入您的手机型号");
        a.model= user.next();
        System.out.println("请输入您的手机颜色");
        a.color= user.next();
        System.out.println("请输入您的手机价格");
        a.price= user.nextInt();
        System.out.println("请输入您要拨打电话的用户");
        a.name1= user.next();
        System.out.println("请输入您要发送信息的用户");
        a.name2= user.next();

        System.out.println("手机品牌是"+a.brand);
        System.out.println("手机型号是"+a.model);
        System.out.println("手机颜色是"+a.color);
        System.out.println("手机价格是"+a.price);

        a.call();
        a.send();
        }
}
